A discrete distribution that simply counts obseravations of each value.
Adds one to the count for value t.
AliasAs()
Inherited from Cognitoware.Mathematics.Probability.RandomDistribution
Equals(Object)
Inherited from System.Object
Finalize()
Inherited from System.Object
GetEntropy()
Inherited from Cognitoware.Mathematics.Probability.Discrete.DiscreteDistribution
GetEntropy(IEnumerable<T>)
Inherited from Cognitoware.Mathematics.Probability.RandomDistribution
GetHashCode()
Inherited from System.Object
GetType()
Inherited from System.Object
MemberwiseClone()
Inherited from System.Object
Returns the count of the specificed value divided by the sum of all counts.
Selects a random value from the distribution with a probability consistent with the distribution.
ToString()
Inherited from System.Object
A discrete distribution that simply counts obseravations of each value.
public override Double ProbabilityOf(T t)
Returns the count of the specificed value divided by the sum of all counts.
Parameters:
t
- The value whose probability is returned.
public override T Sample(Random select)
Selects a random value from the distribution with a probability consistent with the distribution.
Parameters:
select
- A random number generator used to select the value.